package lib;

/**
 * Support class for the GUI to display borrowed books.
 * 
 * @author smy
 * 
 */
public class BorrowedBook {
	private int no;
	private String reqID;
	private String title;
	private String author;
	private String borroweddate;
	private String duedate;
	private String location;

	public BorrowedBook(int num, String a, String b, String c, String d, String e,
			String f) {
		this.no=num;
		this.reqID = a.trim();
		this.title = b.trim();
		this.author = c.trim();
		this.borroweddate = d.trim();
		this.duedate = e.trim();
		this.location = f.trim();
	}
	public String toString() {
		return no+reqID + " " + title + " " + author + " " + borroweddate + " "
				+ duedate + " " + location;
	}
}
